package org.jcut.dao;

import java.util.List;

import org.jcut.bean.Commodity;
import org.springframework.stereotype.Repository;

/**
 * CommodityDAO继承基类
 */
@Repository
public interface CommodityDAO extends MyBatisBaseDao<Commodity, String> {
	
	List<Commodity> selectAll();
	
	int  updateDis(Commodity commodity);
	
	List<Commodity> chooseSelect(Commodity commodity);
	

	List<Commodity> selectBySid(String sid);
	
	List<Commodity> adminBySid(String sid);
}